<?php

class CS_Controller extends CS_Core
{
	public $theme = 'default';
	
	public $layout = 'default';

	public $name;

	public $useModel;

	public $data;

	public function set($key = null, $value = null)
	{
		if(!empty($key) && !empty($value))
		{
			$this->view->vars[$key] = $value;
		}
	}

	public function beforeFilter()
	{

	}

	public function afterFilter()
	{

	}
	
	public function beforeRender($content = null)
	{

	}

	public function afterRender()
	{

	}
}
